package com.qingcheng.sms.goods;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;
import org.springframework.stereotype.Component;

/**
 * @Author:boy
 * @Date:2019/7/15
 * @description:
 * @ModifiedBy:
 */
@Component
public class GoodsDelConsumerListener implements MessageListener {
    public void onMessage(Message message) {
        System.out.println("删除商品id"+new String(message.getBody()));
    }
}
